@extends('app')

@section('content')
{{-- 表单验证错误信息 --}}
@if ($errors->any())
        <div class="alert alert-danger">
            @foreach($errors->all() as $error)
                <p>{{ $error }}</p>
            @endforeach
        </div>
@endif
<ul class="nav nav-tabs">
    <li ><a href="{{ url('/admin/enterprise/company_develop')}}">发展阶段</a></li>
    <li class="active"><a href="{{ url('/admin/enterprise/company_develop/create') }}">添加</a></li>
</ul>
<form method="POST" action="{{ url('/admin/enterprise/company_develop') }}">
    <div class="panel panel-default mt20">
        <div class="form-group mt20">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label">名称：</label>
            <div class="col-sm-3 col-xs-12">
                <input type="text" class="form-control" name="name"
                value="@if($blademod == 'edit'){{ $develop->name }} @endif" id="name">
            </div>
            <div class="clearfix"></div>
        </div>
        
        @if($blademod == 'edit')
            <input type="hidden" name="id" value="{{ $develop->id }}">
        @else
            <input type="hidden" name="id" value="0">
        @endif
    </div>
    {!! csrf_field() !!}
    <div class="form-inline mt20">
        <div class="form-group">
            <input type="submit" class="btn btn-info" id="save" value="submit" />
        </div>
        <div class="form-group ml30">
            <input type="reset" class="btn" value="reset" />
        </div>
    </div>
</form>
@endsection
